Power Analysis
Definition
Power analysis can be used to calculate the minimum sample size required so that one can be reasonably likely to detect an effect of a given size.
Power values range from 0 to 1, and a common power value is 0.8
Example
for two groups A and B:
where d is the effect size,
Then you can Google with the combination of effect size, power, and desired significance threshold.
Rule of thumb
where
: variance : significance level, Type I error (false positive) : Type II error (false negative) : difference between the two groups
Therefore, more samples are needed when- large variance in historical tests and data
- high confidence level (smaller alpha and beta)
- small difference between groups